/*
Name:system_logs
Author: Terry Dong
Description: data entity
*/
using System;
using System.Data;
namespace Gammar.Digger.Entity
{
    [Serializable]
    public class system_logsEntity
    {
        public const string TableName = "system_logs";
        public const string IdentityColumn = "logs_id";
        #region constructors
        public system_logsEntity()
        { }

        public system_logsEntity(int logs_id, int event_type, string description, long causefrom, long create_time, int sys_id)
        {
            this._logs_id = logs_id;

            this._event_type = event_type;

            this._description = description;

            this._causeFrom = causefrom;

            this._create_time = create_time;

            this._sys_id = sys_id;

        }
        #endregion

        #region Fileds


        private int? _logs_id;


        private int? _event_type;


        private string _description;


        private long? _causeFrom;


        private long? _create_time;


        private int? _sys_id;

        #endregion

        #region Properties
        public int? logs_id
        {
            set { this._logs_id = value; }
            get { return this._logs_id; }
        }

        public int? event_type
        {
            set { this._event_type = value; }
            get { return this._event_type; }
        }

        public string description
        {
            set { this._description = value; }
            get { return this._description; }
        }

        public long? causeFrom
        {
            set { this._causeFrom = value; }
            get { return this._causeFrom; }
        }

        public long? create_time
        {
            set { this._create_time = value; }
            get { return this._create_time; }
        }

        public int? sys_id
        {
            set { this._sys_id = value; }
            get { return this._sys_id; }
        }

        #endregion
    }
}

